#ifndef _SFR_USER_H
#define _SFR_USER_H

#ifdef __KERNEL__
 #include <linux/types.h>
 #include <linux/uio.h>
#else
 #include <stdint.h>
 #include <sys/types.h>
 #include <sys/uio.h>
#endif

#define SFR_MAX_BYTES	(MAX_XFR_BLOCKS*XFR_BLOCKSIZE)
#define SFR_FID_LEN	24
#define SFR_SUFFIX_MAX	128

struct sfn {
	uint16_t                version;
	const struct iovec	*vector;
	int			count;
	int64_t			offset;
	int64_t			prefill;
	const char		*suffix;
	mode_t			mode;
	char			*result;
};

#endif /* _SFR_USER_H */
